import smallEventBus from "./index.js";

function aHander(arg){
   console.log('订阅事件接受的参数',arg);
   return 'aHander Done';
}
smallEventBus.subScrible('a',aHander);



const callBackData=  smallEventBus.public('a',{
   name:"test",
   desc:'测试数据' 
})


console.log('发布后返回的参数',callBackData)